package com.pioneer.dao;

import java.util.List;
import com.pioneer.beans.Manifest;
import com.pioneer.beans.Container;
import com.pioneer.beans.ContainerContent;

/**
 * Title:        Pioneer Metals Application
 * Description:
 * Copyright:    Copyright (c) 2001
 * Company:      Pioneer Metals
 * @author Gary Chen
 * @version 1.0
 */

public interface ManifestDAO {

	public List getManifests()
	throws DataAccessException;

	public Manifest getManifest(String jobNum)
	throws DataAccessException;

	public void addManifest(Manifest manifest)
	throws DataAccessException;

	public void updateManifest(String jobNum, Manifest manifest)
	throws DataAccessException;

	public void deleteManifest(String jobNum)
	throws DataAccessException;

	public List getContainersWithContent(String jobNum)
	throws DataAccessException;

	public void addContainer(String jobNum,Container container)
	throws DataAccessException;

	public void deleteContainer(String jobNum,String id)
	throws DataAccessException;
	
	public void updateContainer(String jobNum,Container container)
	throws DataAccessException;

	public void deleteContainers(String jobNum)
	throws DataAccessException;
	
	public Container getContainer(String jobNum,String id)
	throws DataAccessException;	

	public List getContainerContents(String jobNum,String id)
	throws DataAccessException;

	public ContainerContent getContainerContent(String jobNum,String id, String description)
	throws DataAccessException;

	public void addContainerContent(String jobNum,String id, ContainerContent content)
	throws DataAccessException;

	public void deleteContainerContents(String jobNum)
	throws DataAccessException;

	public void deleteContainerContents(String jobNum,String id)
	throws DataAccessException;

	public void deleteContainerContent(String jobNum,String id, String description)
	throws DataAccessException;


}